function isTrulyEmpty(obj) {
  return Object.getOwnPropertyNames(obj).length === 0 &&
         Object.getOwnPropertySymbols(obj).length === 0;
}
